home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat2 / xpolys.2 < prev    next >
Text File  |  1999-09-16  |  893b  |  67 lines

  1.  
  2.  
  3.  
  4. xpolys(2)                      Scilab Function                      xpolys(2)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   xpolys - draw a set of polylines
  13.  
  14. CALLING SEQUENCE
  15.   []=xpolys(xpols,ypols,[draw])
  16.  
  17. PARAMETERS
  18.  
  19.   xpols, ypols   : matrices of size (p,n)
  20.  
  21.   draw           : vector of size n
  22.  
  23. DESCRIPTION
  24.   Draws a set of polyline using marks or dashed lines, each polyline points
  25.    are store in a column of xpols, ypols. xpols =[ xpol1;xpol2;...] '
  26.  
  27.   The style is given by draw :
  28.  
  29.   If draw(i) is positive the mark of id draw(i) is used to draw the polyline
  30.   i.
  31.  
  32.   If draw(i) is negative the line style of id abs(draw(i)) is used to draw
  33.   the polyline i.
  34.  
  35. EXAMPLES
  36.   plot2d(0,0,[-1],"012"," ",[0,0,1,1]);
  37.   rand('uniform');
  38.   xpolys(rand(10,5),rand(10,5));
  39.   xpolys(rand(10,5),rand(10,5),[-1,-2,0,1,2])
  40.   xset("use color",1)
  41.   xpolys(rand(10,5),rand(10,5),[-1,-4,0,1,2])
  42.  
  43. AUTHOR
  44.   J.Ph.C.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.